package com.hsp.demo_10.myfinal;

public class Demo_03 {
    public static void main(String[] args) {
        BB03 bb03 = new BB03();
        bb03.getMin();
        System.out.println(bb03.size);
        System.out.println(BB03.size);
//        System.out.println(bb03.COUNT);
//        System.out.println(BB03.);
    }
}

class AA03{

    public static int size = 1;
    public final int COUNT = 1;

    public static final double MAX = 3.0;


    public final void getCount(){
        System.out.println("final的方法");
    }
}

class BB03 extends AA03{
    public double min = 1.0;
    public static double size = 2.0;

    public void getMin(){
        System.out.println("BB03的普通方法");
    }
}
